package com.ruoyi.system.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class YgemployeeMap extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 员工id */
    private Long empid;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private String empname;

    /** 职位主键id */
    @Excel(name = "职位")
    private String pname;

    /** 职位主键id */
    @Excel(name = "职位主键id")
    private Long pid;

    /** 员工生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "员工生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 入职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "入职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hiredate;

    /** 离职时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "离职时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date resignationtime;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String nativeplace;

    /** 电话 */
    @Excel(name = "电话")
    private String phonenumber;

    /** 学历（0无，1 小学，，，） */
    @Excel(name = "学历", readConverterExp = "0=无，1,小=学，，，")
    private Integer education;

    /** 教育背景 */
    @Excel(name = "教育背景")
    private String educations;

    /** 身份证 */
    @Excel(name = "身份证")
    private String identityCard;

    /** 现居住地 */
    @Excel(name = "现居住地")
    private String residence;

    public Long getEmpid() {
        return empid;
    }

    public void setEmpid(Long empid) {
        this.empid = empid;
    }

    public String getEmpname() {
        return empname;
    }

    public void setEmpname(String empname) {
        this.empname = empname;
    }

    public String getPname() {
        return pname;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public Long getPid() {
        return pid;
    }

    public void setPid(Long pid) {
        this.pid = pid;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Date getHiredate() {
        return hiredate;
    }

    public void setHiredate(Date hiredate) {
        this.hiredate = hiredate;
    }

    public Date getResignationtime() {
        return resignationtime;
    }

    public void setResignationtime(Date resignationtime) {
        this.resignationtime = resignationtime;
    }

    public String getNativeplace() {
        return nativeplace;
    }

    public void setNativeplace(String nativeplace) {
        this.nativeplace = nativeplace;
    }

    public String getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(String phonenumber) {
        this.phonenumber = phonenumber;
    }

    public Integer getEducation() {
        return education;
    }

    public void setEducation(Integer education) {
        this.education = education;
    }

    public String getEducations() {
        return educations;
    }

    public void setEducations(String educations) {
        this.educations = educations;
    }

    public String getIdentityCard() {
        return identityCard;
    }

    public void setIdentityCard(String identityCard) {
        this.identityCard = identityCard;
    }

    public String getResidence() {
        return residence;
    }

    public void setResidence(String residence) {
        this.residence = residence;
    }

    @Override
    public String toString() {
        return "YgemployeeMap{" +
                "empid=" + empid +
                ", empname='" + empname + '\'' +
                ", pname='" + pname + '\'' +
                ", pid=" + pid +
                ", birthday=" + birthday +
                ", hiredate=" + hiredate +
                ", resignationtime=" + resignationtime +
                ", nativeplace='" + nativeplace + '\'' +
                ", phonenumber='" + phonenumber + '\'' +
                ", education=" + education +
                ", educations='" + educations + '\'' +
                ", identityCard='" + identityCard + '\'' +
                ", residence='" + residence + '\'' +
                '}';
    }
}
